Skip to content

Added api filter to table#3324

Merged
Corepex merged 5 commits into2025.4from
3105-quantity-values---sorting-only-works-on-active-page
Apr 22, 2026
Merged

Added api filter to table#3324
Corepex merged 5 commits into2025.4from
3105-quantity-values---sorting-only-works-on-active-page

Conversation

@Corepex
Copy link
Copy Markdown
Contributor

@Corepex Corepex commented Apr 9, 2026

Changes in this pull request

Resolves #3105

Additional info

This pull request enhances the Quantity Value Units table by adding server-side sorting and search functionality, and improves cache invalidation for more consistent data updates. The changes are primarily focused on improving the user experience when interacting with the table and ensuring that displayed data stays up-to-date after mutations.

Table Filtering and Sorting Improvements:

  • Added a search input and server-side filtering to the QuantityValueContainer, allowing users to filter quantity value units by keyword. The filter is sent to the backend and resets pagination on change. [1] [2]
  • Implemented server-side sorting: table sorting state is now managed in the container, mapped to backend sort keys, and sent as part of the query. The table disables sorting for certain columns and supports manual sorting mode. [1] [2] [3] [4] [5] [6] [7]

API and Data Consistency:

  • Improved cache invalidation by updating the invalidatesTags and providesTags logic for create, update, and delete endpoints in unit-slice-enhanced.ts, ensuring the data is refreshed after mutations. [1] [2]

These changes collectively provide a more robust and user-friendly interface for managing quantity value units, with accurate and up-to-date data reflecting user actions.

@Corepex Corepex self-assigned this Apr 9, 2026
@Corepex Corepex requested a review from xIrusux April 9, 2026 09:05
@Corepex Corepex linked an issue Apr 10, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@xIrusux xIrusux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix sonarqube issues but otherwise LGTM

@sonarqubecloud
Copy link
Copy Markdown

@Corepex Corepex merged commit c6e2d7b into 2025.4 Apr 22, 2026
1 check passed
@Corepex Corepex deleted the 3105-quantity-values---sorting-only-works-on-active-page branch April 22, 2026 07:24
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Quantity values] - sorting only works on active page

2 participants